const app = require("./app");
const { APP_PORT } = require("./config/config.default");

// 指定监听本机的3000端口，当监听到该端口的请求后，都会交给koa这个框架处理
app.listen(APP_PORT, () => {
  console.log(`Server is running on： http://localhost:${APP_PORT}`);
  console.log(`Swagger UI 地址（接口文档）: http://localhost:${APP_PORT}/swagger`);
});
